<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script src="./Arr.js"></script>
	<script>
		// 对象构造器
		// 实例化对象
		// obj = new Arr();

		// console.log(obj.arr_sort([54623,2,23,2,2]));

		function Car() {
			this.name = "奥迪";
			this.color = "red";
			this.paoniu = function (name) {
				document.write(name+"可以泡妞");
			}
			this.run = function () {
				document.write("可以跑");
			}
		}

		car = new Car();
		car.name = "奥拓";
		car.length = "2m";
		document.write(car.name);
		car.paoniu("小明");
		car.yuepao = function () {
			document.write("可以炮");
		}
		// document.write(car);
		console.log(car);

		// window.name = 90;

		// window.alert()

		car1 = new Car();

		console.log(car1);

	</script>
</head>
<body>
	
</body>
</html>